home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / FredFish PD 316.adf / Vectors / Vectors.doc < prev    next >
Text File  |  1990-02-06  |  3KB  |  133 lines

  1.  
  2.  
  3.           Vectors                                           Version 1.0/1.1
  4.  
  5.  
  6.  
  7.  
  8.  
  9.           NNAAMMEE
  10.  
  11.                vectors - look how fast the Amiga draws lines
  12.  
  13.  
  14.           SSYYNNOOPPSSIISS
  15.  
  16.                vectors [?] <xsize> <ysize> <planes> <number>
  17.  
  18.  
  19.           DDEESSCCRRIIPPTTIIOONN
  20.  
  21.                "Vectors"  opens a  viewport of  <xsize> by  <ysize> pixels,
  22.                with <planes>  bits per pixel, and draws  10 passes of <num-
  23.                ber> vectors  using optimized drawing  routines. The drawing
  24.                times are measure in micro seconds and averaged. You can use
  25.                0 for <xsize> and/or <ysize>, the program then uses the size
  26.                of your workbench  screen. Pal, Lace, Hires and Overscan are
  27.                supported and automatically selected if necessary, according
  28.                to the given sizes.
  29.  
  30.                Each  vector drawn  as 4  distinctive word  coordinates, and
  31.                eventually  a color  byte. These values  are picked  up ran-
  32.                domly.
  33.  
  34.                It is interresting to see the speed differences when drawing
  35.                in  different depths.  Also, if you  recompile this  and try
  36.                some changes,  you might be  surprised to find  out that not
  37.                loading  the View  considerably slows  down the  drawing, or
  38.                that using the  -O (optimizer) option when compiling doesn't
  39.                help neither.
  40.  
  41.                In a 704x282 viewport,  we draw can draw about 2300-2400 per
  42.                second  maximum.  This  raises to 2500  v/s for  640X400, to
  43.                over 5000 v/s for  320x200 and 10000 vectors per seconds can
  44.                be reached with a 100x100, 1 plane display.
  45.  
  46.  
  47.           EEXXAAMMPPLLEESS
  48.  
  49.                vectors 0 0 1 1000
  50.  
  51.                     opens a  viewport with the  same size as  the Workbench
  52.                     screen, one  plane deep (that's 2  colors) and draws 10
  53.                     times 1000 vectors (fast).
  54.  
  55.                vectors 100 100 5 100
  56.  
  57.                     opens a  100x100 low  resolution display, and  draws 10
  58.                     times 100 vectors using 32 colors (slow).
  59.  
  60.  
  61.  
  62.  
  63.  
  64.           Utilities                     Page 1                        Amiga
  65.  
  66.  
  67.  
  68.  
  69.           Vectors                                           Version 1.0/1.1
  70.  
  71.  
  72.  
  73.           CCOOMMPPIILLIINNGG
  74.  
  75.                This  version should  compile and link  with Lattice  5.0 or
  76.                over. Use the provided makefile.
  77.  
  78.  
  79.  
  80.           BBUUGGSS
  81.  
  82.                Did you find one? Let me know!
  83.  
  84.  
  85.           AAUUTTHHOORR
  86.  
  87.                Version 1.0 by Gauthier Groult, May 22, 1989.
  88.  
  89.                     Gauthier Groult
  90.                     33, Blvd Saint Denis
  91.                     92400 Courbevoie
  92.                     France, Europe
  93.                     Tel: (1) 47 89 09 54
  94.                     EMail: groult@germinal.ibp.fr
  95.  
  96.                Version 1.1 by Jean Michel Forgeas, June 2, 1989.
  97.  
  98.  
  99.                Vectors  executable  program  and  source  code  are  public
  100.                domain.
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.           Utilities                     Page 2                        Amiga
  131.  
  132.  
  133.